package com.yyw.foodie;

import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * @author 易煜玮
 * @ClassName FoodieApplicationByWar.java
 * @Description War包启动的启动类
 * @createTime 2021年06月21日 13:19:00
 */
public class FoodieApplicationByWar extends SpringBootServletInitializer {
    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        // 这里加入SpringBoot的启动类
        return builder.sources(FoodieApplication.class);
    }
}
